package o;

import android.os.Binder;
import android.os.Bundle;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.os.RemoteException;

public interface exq extends IInterface {

    public static abstract class a extends Binder implements exq {

        static class c implements exq {
            private IBinder ॱ;

            c(IBinder iBinder) {
                this.ॱ = iBinder;
            }

            public IBinder asBinder() {
                return this.ॱ;
            }

            public void ॱ(int i, Bundle bundle) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.huawei.dynamiccore.aidl.IDynamicCoreCallback");
                    obtain.writeInt(i);
                    if (bundle != null) {
                        obtain.writeInt(1);
                        bundle.writeToParcel(obtain, 0);
                    } else {
                        obtain.writeInt(0);
                    }
                    this.ॱ.transact(1, obtain, null, 1);
                } finally {
                    obtain.recycle();
                }
            }

            public void ˏ(int i, Bundle bundle) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.huawei.dynamiccore.aidl.IDynamicCoreCallback");
                    obtain.writeInt(i);
                    if (bundle != null) {
                        obtain.writeInt(1);
                        bundle.writeToParcel(obtain, 0);
                    } else {
                        obtain.writeInt(0);
                    }
                    this.ॱ.transact(2, obtain, null, 1);
                } finally {
                    obtain.recycle();
                }
            }

            public void ॱ(Bundle bundle) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.huawei.dynamiccore.aidl.IDynamicCoreCallback");
                    if (bundle != null) {
                        obtain.writeInt(1);
                        bundle.writeToParcel(obtain, 0);
                    } else {
                        obtain.writeInt(0);
                    }
                    this.ॱ.transact(3, obtain, null, 1);
                } finally {
                    obtain.recycle();
                }
            }

            public void ˏ(Bundle bundle) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.huawei.dynamiccore.aidl.IDynamicCoreCallback");
                    if (bundle != null) {
                        obtain.writeInt(1);
                        bundle.writeToParcel(obtain, 0);
                    } else {
                        obtain.writeInt(0);
                    }
                    this.ॱ.transact(4, obtain, null, 1);
                } finally {
                    obtain.recycle();
                }
            }

            public void ˋ(int i, Bundle bundle) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.huawei.dynamiccore.aidl.IDynamicCoreCallback");
                    obtain.writeInt(i);
                    if (bundle != null) {
                        obtain.writeInt(1);
                        bundle.writeToParcel(obtain, 0);
                    } else {
                        obtain.writeInt(0);
                    }
                    this.ॱ.transact(5, obtain, null, 1);
                } finally {
                    obtain.recycle();
                }
            }

            public void ˊ(Bundle bundle) throws RemoteException {
                Parcel obtain = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.huawei.dynamiccore.aidl.IDynamicCoreCallback");
                    if (bundle != null) {
                        obtain.writeInt(1);
                        bundle.writeToParcel(obtain, 0);
                    } else {
                        obtain.writeInt(0);
                    }
                    this.ॱ.transact(6, obtain, null, 1);
                } finally {
                    obtain.recycle();
                }
            }
        }

        public a() {
            attachInterface(this, "com.huawei.dynamiccore.aidl.IDynamicCoreCallback");
        }

        public static exq ˊ(IBinder iBinder) {
            if (iBinder == null) {
                return null;
            }
            IInterface queryLocalInterface = iBinder.queryLocalInterface("com.huawei.dynamiccore.aidl.IDynamicCoreCallback");
            if (queryLocalInterface == null || !(queryLocalInterface instanceof exq)) {
                return new c(iBinder);
            }
            return (exq) queryLocalInterface;
        }

        public boolean onTransact(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException {
            Bundle bundle = null;
            String str = "com.huawei.dynamiccore.aidl.IDynamicCoreCallback";
            int readInt;
            switch (i) {
                case 1:
                    parcel.enforceInterface(str);
                    readInt = parcel.readInt();
                    if (parcel.readInt() != 0) {
                        bundle = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
                    }
                    ॱ(readInt, bundle);
                    return true;
                case 2:
                    parcel.enforceInterface(str);
                    readInt = parcel.readInt();
                    if (parcel.readInt() != 0) {
                        bundle = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
                    }
                    ˏ(readInt, bundle);
                    return true;
                case 3:
                    parcel.enforceInterface(str);
                    if (parcel.readInt() != 0) {
                        bundle = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
                    }
                    ॱ(bundle);
                    return true;
                case 4:
                    parcel.enforceInterface(str);
                    if (parcel.readInt() != 0) {
                        bundle = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
                    }
                    ˏ(bundle);
                    return true;
                case 5:
                    parcel.enforceInterface(str);
                    readInt = parcel.readInt();
                    if (parcel.readInt() != 0) {
                        bundle = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
                    }
                    ˋ(readInt, bundle);
                    return true;
                case 6:
                    parcel.enforceInterface(str);
                    if (parcel.readInt() != 0) {
                        bundle = (Bundle) Bundle.CREATOR.createFromParcel(parcel);
                    }
                    ˊ(bundle);
                    return true;
                case 1598968902:
                    parcel2.writeString(str);
                    return true;
                default:
                    return super.onTransact(i, parcel, parcel2, i2);
            }
        }
    }

    void ˊ(Bundle bundle) throws RemoteException;

    void ˋ(int i, Bundle bundle) throws RemoteException;

    void ˏ(int i, Bundle bundle) throws RemoteException;

    void ˏ(Bundle bundle) throws RemoteException;

    void ॱ(int i, Bundle bundle) throws RemoteException;

    void ॱ(Bundle bundle) throws RemoteException;
}
